package com.woniuxy.yoga.business.model.form.storeclassroom;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("门店新增教室参数对象")
public class StoreClassroomAddForm {

    /**
     * 教室名称
     */
    @NotBlank
    @ApiModelProperty("教室名称")
    private String classroomName;

    /**
     * 教室最大容量
     */
    @NotNull
    @ApiModelProperty("教室最大容量")
    @Min(value = 2)
    private Integer classroomMax;
    /**
     * 教室类型(0普通教室 1团课教室)
     */
    @ApiModelProperty("教室类型")
    private Integer classroomType;
}
